package com.leadingsoft.pwxk.services.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.leadingsoft.pwxk.model.AuditAirPollutionEmissions;
import com.leadingsoft.pwxk.repository.AuditAirPollutionEmissionsRepository;
import com.leadingsoft.pwxk.services.AbstractService;

/**
 * 
 * @author ysh
 * @desc 审批信息-大气污染物排放信息审核-服务类
 */
@Service
public class AuditAirPollutionEmissionsServiceImpl extends AbstractService<AuditAirPollutionEmissions> {

	@Autowired
	AuditAirPollutionEmissionsRepository auditAirPollutionEmissionsRepository;

	@Override
	public void saveAll(List<AuditAirPollutionEmissions> models) {
		auditAirPollutionEmissionsRepository.saveAll(models);
	}

	@Override
	public void deleteAll() {
		auditAirPollutionEmissionsRepository.deleteAll();
	}

	@Override
	public void save(AuditAirPollutionEmissions model) {
		auditAirPollutionEmissionsRepository.save(model);
	}

}